import Layout from '@/layout'
export default [
  {
    path: '',
    redirect: '/home/drive',
    component: Layout,
    children: [{
      name: 'Home',
      path: '/home/index',
      component: () => import('@/views/home'),
    },
    {
      name: 'Drive',
      path: '/home/drive',
      component: () => import('@/views/home/drive'),
    }
  ]
  },
  {
    path: '*',
    redirect: '/404',
    component: Layout
  }
]
